package com.itbbfx.mapper;

import com.itbbfx.entity.Baoque;
import com.itbbfx.entity.Record;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BaoqueMapper extends Mapper<Baoque> {
    List<Baoque> queryAll(@Param("baoque") Baoque baoque);

    Baoque queryDrugstoreName(@Param("jiluname") String jiluname);

    Baoque queryBaoque(@Param("drugstoreName") String drugstoreName);

    int delBaoque(@Param("baoqueid") Integer baoqueid);

    int updateBaoque(@Param("baoque") Baoque baoque);
}
